package com.biz.aoao.mysql.mysqlbinlogsync.annotation;

import org.springframework.stereotype.Component;

import java.lang.annotation.*;

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@Documented
@Component
public @interface MysqlSyncListener {

    //主库的serverid
    String serverid();
    /**要监听的数据库名*/
    String database();
    /**要监听的表名*/
    String table();
}
